home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / themes / Esco / metacity-1 / metacity-theme-1.xml
Encoding:
Extensible Markup Language  |  2009-05-14  |  33.7 KB  |  991 lines

  1. <?xml version="1.0"?>
  2. <metacity_theme>
  3.  
  4. <info>
  5.     <name>Esco</name>
  6.     <author>James M. Cape <jcape@ignore-your.tv></author>
  7.     <copyright> Havoc Pennington, 2002 for Atlanta. Â Gaute Lindkvist, 2002 for Bright. Â James M. Cape 2002 for modifications</copyright>
  8.     <date>February 3, 2002</date>
  9.     <description>Simple theme designed to look really good & match GTK+ well.</description>
  10. </info>
  11.  
  12. <frame_geometry name="normal">
  13.      <distance name="left_width" value="5"/>
  14.      <distance name="right_width" value="5"/>
  15.      <distance name="bottom_height" value="5"/>
  16.     <distance name="left_titlebar_edge" value="5"/>
  17.     <distance name="right_titlebar_edge" value="5"/>
  18.     <aspect_ratio name="button" value="1.0"/> 
  19.     <distance name="title_vertical_pad" value="1"/>
  20.     <border name="title_border" left="5" right="5" top="3" bottom="2"/>
  21.     <border name="button_border" left="0" right="0" top="3" bottom="2"/>
  22. </frame_geometry>
  23.  
  24. <!-- strip borders off the normal geometry -->
  25. <frame_geometry name="normal_small_borders" parent="normal">
  26.     <distance name="left_width" value="0"/>
  27.     <distance name="right_width" value="0"/>
  28.     <distance name="bottom_height" value="0"/>
  29.     <distance name="left_titlebar_edge" value="0"/>
  30.     <distance name="right_titlebar_edge" value="0"/>
  31.     <distance name="title_vertical_pad" value="2"/>
  32.     <border name="title_border" left="5" right="5" top="0" bottom="0"/>
  33.     <border name="button_border" left="0" right="0" top="0" bottom="0"/>
  34. </frame_geometry>
  35.  
  36. <frame_geometry name="utility" title_scale="small">
  37.     <distance name="left_width" value="1"/>
  38.     <distance name="right_width" value="1"/>
  39.     <distance name="bottom_height" value="5"/>
  40.     <distance name="left_titlebar_edge" value="2"/>
  41.     <distance name="right_titlebar_edge" value="2"/>
  42.     <aspect_ratio name="button" value="1.0"/>      
  43.     <distance name="title_vertical_pad" value="3"/>
  44.     <border name="title_border" left="2" right="2" top="0" bottom="0"/>
  45.     <border name="button_border" left="0" right="0" top="2" bottom="0"/>
  46. </frame_geometry>
  47.  
  48. <frame_geometry name="border" has_title="false">
  49.     <distance name="left_width" value="5"/>
  50.     <distance name="right_width" value="5"/>
  51.     <distance name="bottom_height" value="5"/>
  52.     <distance name="left_titlebar_edge" value="0"/>
  53.     <distance name="right_titlebar_edge" value="0"/>
  54.     <distance name="button_width" value="0"/>
  55.     <distance name="button_height" value="0"/>
  56.     <distance name="title_vertical_pad" value="5"/>
  57.     <border name="title_border" left="0" right="0" top="0" bottom="0"/>
  58.     <border name="button_border" left="0" right="0" top="0" bottom="0"/>
  59. </frame_geometry>
  60.  
  61. <!-- define constants -->
  62. <constant name="ButtonIPad" value="3"/>
  63. <constant name="IconTitleSpacing" value="8"/>
  64.  
  65. <!-- Button Outlines -->
  66. <draw_ops name="button_prelight_bg">
  67.     <gtk_box state="prelight" shadow="out" x="0" y="0" width="width"
  68.         height="height"/>
  69. </draw_ops>
  70.  
  71. <draw_ops name="button_pressed_bg">
  72.     <gtk_box state="active" shadow="in" x="0" y="0" width="width"
  73.         height="height"/>
  74. </draw_ops>
  75.  
  76. <draw_ops name="right_button_normal_bg">
  77.     <rectangle color="#ffffff" filled="true" x="0" y="0" width="width" height="height"/>
  78. </draw_ops>
  79.  
  80. <!-- Button Icons -->
  81.  
  82. <!-- Minimize Button -->
  83. <draw_ops name="minimize_button">
  84.     <rectangle color="gtk:dark[NORMAL]" filled="true"
  85.         x="ButtonIPad"
  86.         y="height - ButtonIPad - ((height - (ButtonIPad + 1) * 2) * 0.4) - 1"
  87.         width="width - (ButtonIPad + 1) * 2"
  88.         height="(height - (ButtonIPad + 1) * 2) * 0.4"/>
  89. </draw_ops>
  90. <draw_ops name="minimize_button_focused">
  91.     <rectangle color="gtk:fg[SELECTED]" filled="true"
  92.         x="ButtonIPad"
  93.         y="height - ButtonIPad - ((height - (ButtonIPad + 1) * 2) * 0.4) - 1"
  94.         width="width - (ButtonIPad + 1) * 2"
  95.         height="(height - (ButtonIPad + 1) * 2) * 0.4"/>
  96. </draw_ops>
  97. <draw_ops name="minimize_button_prelight">
  98.     <include name="button_prelight_bg"/>
  99.     <rectangle color="gtk:dark[PRELIGHT]" filled="true"
  100.         x="ButtonIPad + 1"
  101.         y="height - ButtonIPad - ((height - (ButtonIPad + 1) * 2) * 0.4)"
  102.         width="width - (ButtonIPad + 1) * 2"
  103.         height="(height - (ButtonIPad + 1) * 2) * 0.4 + 1"/>
  104.     <rectangle color="gtk:fg[PRELIGHT]" filled="false"
  105.         x="ButtonIPad"
  106.         y="height - ButtonIPad - ((height - (ButtonIPad + 1) * 2) * 0.4) - 1"
  107.         width="width - (ButtonIPad + 1) * 2"
  108.         height="(height - (ButtonIPad + 1) * 2) * 0.4"/>
  109. </draw_ops>
  110. <draw_ops name="minimize_button_pressed">
  111.     <include name="button_pressed_bg"/>
  112.     <rectangle color="gtk:dark[ACTIVE]" filled="true"
  113.         x="ButtonIPad + 1"
  114.         y="height - ButtonIPad - ((height - (ButtonIPad + 1) * 2) * 0.4)"
  115.         width="width - (ButtonIPad + 1) * 2"
  116.         height="(height - (ButtonIPad + 1) * 2) * 0.4 + 1"/>
  117.     <rectangle color="gtk:fg[ACTIVE]" filled="false"
  118.         x="ButtonIPad"
  119.         y="height - ButtonIPad - ((height - (ButtonIPad + 1) * 2) * 0.4) - 1"
  120.         width="width - (ButtonIPad + 1) * 2"
  121.         height="(height - (ButtonIPad + 1) * 2) * 0.4"/>
  122. </draw_ops>
  123.  
  124. <!-- Maximize Button -->
  125. <draw_ops name="maximize_button">
  126.     <rectangle color="gtk:dark[NORMAL]" filled="false"
  127.         x="ButtonIPad"
  128.         y="ButtonIPad"
  129.         width="width - (ButtonIPad + 1) * 2"
  130.         height="height - (ButtonIPad + 1) * 2"/>
  131.     <rectangle color="gtk:dark[NORMAL]" filled="true"
  132.         x="ButtonIPad"
  133.         y="ButtonIPad"
  134.         width="width - (ButtonIPad + 1) * 2"
  135.         height="(height - (ButtonIPad + 1) * 2) * 0.4"/>
  136. </draw_ops>
  137. <draw_ops name="maximize_button_focused">
  138.     <rectangle color="gtk:fg[SELECTED]" filled="false"
  139.         x="ButtonIPad"
  140.         y="ButtonIPad"
  141.         width="width - (ButtonIPad + 1) * 2"
  142.         height="height - (ButtonIPad + 1) * 2"/>
  143.     <rectangle color="gtk:fg[SELECTED]" filled="true"
  144.         x="ButtonIPad"
  145.         y="ButtonIPad"
  146.         width="width - (ButtonIPad + 1) * 2"
  147.         height="(height - (ButtonIPad + 1) * 2) * 0.4"/>
  148. </draw_ops>
  149. <draw_ops name="maximize_button_prelight">
  150.     <include name="button_prelight_bg"/>
  151.     <rectangle color="gtk:dark[PRELIGHT]" filled="false"
  152.         x="ButtonIPad + 1"
  153.         y="ButtonIPad + 1"
  154.         width="width - (ButtonIPad + 1) * 2"
  155.         height="height - (ButtonIPad + 1) * 2"/>
  156.     <rectangle color="gtk:dark[PRELIGHT]" filled="true"
  157.         x="ButtonIPad + 1"
  158.         y="ButtonIPad + 1"
  159.         width="width - (ButtonIPad + 1) * 2"
  160.         height="(height - (ButtonIPad + 1) * 2) * 0.4 + 1"/>
  161.     <rectangle color="gtk:fg[PRELIGHT]" filled="false"
  162.         x="ButtonIPad"
  163.         y="ButtonIPad"
  164.         width="width - (ButtonIPad + 1) * 2"
  165.         height="height - (ButtonIPad + 1) * 2"/>
  166.     <rectangle color="gtk:fg[PRELIGHT]" filled="false"
  167.         x="ButtonIPad"
  168.         y="ButtonIPad"
  169.         width="width - (ButtonIPad + 1) * 2"
  170.         height="(height - (ButtonIPad + 1) * 2) * 0.4"/>
  171. </draw_ops>
  172. <draw_ops name="maximize_button_pressed">
  173.     <include name="button_pressed_bg"/>
  174.     <rectangle color="gtk:dark[ACTIVE]" filled="false"
  175.         x="ButtonIPad + 1"
  176.         y="ButtonIPad + 1"
  177.         width="width - (ButtonIPad + 1) * 2"
  178.         height="height - (ButtonIPad + 1) * 2"/>
  179.     <rectangle color="gtk:dark[ACTIVE]" filled="true"
  180.         x="ButtonIPad + 1"
  181.         y="ButtonIPad + 1"
  182.         width="width - (ButtonIPad + 1) * 2"
  183.         height="(height - (ButtonIPad + 1) * 2) * 0.4 + 1"/>
  184.     <rectangle color="gtk:fg[ACTIVE]" filled="false"
  185.         x="ButtonIPad"
  186.         y="ButtonIPad"
  187.         width="width - (ButtonIPad + 1) * 2"
  188.         height="height - (ButtonIPad + 1) * 2"/>
  189.     <rectangle color="gtk:fg[ACTIVE]" filled="false"
  190.         x="ButtonIPad"
  191.         y="ButtonIPad"
  192.         width="width - (ButtonIPad + 1) * 2"
  193.         height="(height - (ButtonIPad + 1) * 2) * 0.4"/>
  194. </draw_ops>
  195.  
  196. <!-- UnMaximize Button -->
  197. <draw_ops name="restore_button">
  198.     <rectangle color="gtk:dark[NORMAL]" filled="false"
  199.         x="ButtonIPad"
  200.         y="ButtonIPad"
  201.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  202.         height="(height - (ButtonIPad + 1) * 2) * 0.67"/>
  203.     <rectangle color="gtk:dark[NORMAL]" filled="true"
  204.         x="ButtonIPad"
  205.         y="ButtonIPad"
  206.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  207.         height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/>
  208.     <rectangle color="gtk:dark[NORMAL]" filled="false"
  209.         x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33"
  210.         y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33"
  211.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  212.         height="(height - (ButtonIPad + 1) * 2) * 0.67"/>
  213.     <rectangle color="gtk:dark[NORMAL]" filled="true"
  214.         x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33"
  215.         y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33"
  216.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  217.         height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/>
  218. </draw_ops>
  219. <draw_ops name="restore_button_focused">
  220.     <rectangle color="gtk:fg[SELECTED]" filled="false"
  221.         x="ButtonIPad"
  222.         y="ButtonIPad"
  223.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  224.         height="(height - (ButtonIPad + 1) * 2) * 0.67"/>
  225.     <rectangle color="gtk:fg[SELECTED]" filled="true"
  226.         x="ButtonIPad"
  227.         y="ButtonIPad"
  228.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  229.         height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/>
  230.     <rectangle color="gtk:fg[SELECTED]" filled="false"
  231.         x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33"
  232.         y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33"
  233.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  234.         height="(height - (ButtonIPad + 1) * 2) * 0.67"/>
  235.     <rectangle color="gtk:fg[SELECTED]" filled="true"
  236.         x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33"
  237.         y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33"
  238.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  239.         height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/>
  240. </draw_ops>
  241. <draw_ops name="restore_button_prelight">
  242.     <include name="button_prelight_bg"/>
  243.     <rectangle color="gtk:dark[PRELIGHT]" filled="false"
  244.         x="ButtonIPad + 1"
  245.         y="ButtonIPad + 1"
  246.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  247.         height="(height - (ButtonIPad + 1) * 2) * 0.67"/>
  248.     <rectangle color="gtk:dark[PRELIGHT]" filled="true"
  249.         x="ButtonIPad + 1"
  250.         y="ButtonIPad + 1"
  251.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  252.         height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/>
  253.     <rectangle color="gtk:dark[PRELIGHT]" filled="false"
  254.         x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33 + 1"
  255.         y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33 + 1"
  256.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  257.         height="(height - (ButtonIPad + 1) * 2) * 0.67"/>
  258.     <rectangle color="gtk:dark[PRELIGHT]" filled="true"
  259.         x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33 + 1"
  260.         y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33 + 1"
  261.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  262.         height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/>
  263.     <rectangle color="gtk:fg[PRELIGHT]" filled="false"
  264.         x="ButtonIPad"
  265.         y="ButtonIPad"
  266.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  267.         height="(height - (ButtonIPad + 1) * 2) * 0.67"/>
  268.     <rectangle color="gtk:fg[PRELIGHT]" filled="true"
  269.         x="ButtonIPad"
  270.         y="ButtonIPad"
  271.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  272.         height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/>
  273.     <rectangle color="gtk:fg[PRELIGHT]" filled="false"
  274.         x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33"
  275.         y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33"
  276.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  277.         height="(height - (ButtonIPad + 1) * 2) * 0.67"/>
  278.     <rectangle color="gtk:fg[PRELIGHT]" filled="true"
  279.         x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33"
  280.         y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33"
  281.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  282.         height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/>
  283. </draw_ops>
  284. <draw_ops name="restore_button_pressed">
  285.     <include name="button_pressed_bg"/>
  286.     <rectangle color="gtk:dark[ACTIVE]" filled="false"
  287.         x="ButtonIPad + 1"
  288.         y="ButtonIPad + 1"
  289.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  290.         height="(height - (ButtonIPad + 1) * 2) * 0.67"/>
  291.     <rectangle color="gtk:dark[ACTIVE]" filled="true"
  292.         x="ButtonIPad + 1"
  293.         y="ButtonIPad + 1"
  294.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  295.         height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/>
  296.     <rectangle color="gtk:dark[ACTIVE]" filled="false"
  297.         x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33 + 1"
  298.         y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33 + 1"
  299.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  300.         height="(height - (ButtonIPad + 1) * 2) * 0.67"/>
  301.     <rectangle color="gtk:dark[ACTIVE]" filled="true"
  302.         x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33 + 1"
  303.         y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33 + 1"
  304.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  305.         height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/>
  306.     <rectangle color="gtk:fg[ACTIVE]" filled="false"
  307.         x="ButtonIPad"
  308.         y="ButtonIPad"
  309.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  310.         height="(height - (ButtonIPad + 1) * 2) * 0.67"/>
  311.     <rectangle color="gtk:fg[ACTIVE]" filled="true"
  312.         x="ButtonIPad"
  313.         y="ButtonIPad"
  314.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  315.         height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/>
  316.     <rectangle color="gtk:fg[ACTIVE]" filled="false"
  317.         x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33"
  318.         y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33"
  319.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  320.         height="(height - (ButtonIPad + 1) * 2) * 0.67"/>
  321.     <rectangle color="gtk:fg[ACTIVE]" filled="true"
  322.         x="ButtonIPad + (width - (ButtonIPad + 1) * 2) * 0.33"
  323.         y="ButtonIPad + (height - (ButtonIPad + 1) * 2) * 0.33"
  324.         width="(width - (ButtonIPad + 1) * 2) * 0.67"
  325.         height="((height - (ButtonIPad + 1) * 2) * 0.4) * 0.67"/>
  326. </draw_ops>
  327.  
  328. <!-- Menu Button -->
  329. <draw_ops name="menu_button">
  330.     <line color="gtk:dark[NORMAL]" width="3"
  331.         x1="ButtonIPad + 1"
  332.         y1="ButtonIPad"
  333.         x2="ButtonIPad + 1"
  334.         y2="height - ButtonIPad - 3"/>
  335.     <line color="gtk:dark[NORMAL]" width="3"
  336.         x1="ButtonIPad"
  337.         y1="height - ButtonIPad - 5"
  338.         x2="width - ButtonIPad - 2"
  339.         y2="height - ButtonIPad - 5"/>
  340.     <line color="gtk:dark[NORMAL]" width="1"
  341.         x1="ButtonIPad"
  342.         y1="height - ButtonIPad - 5"
  343.         x2="width - ButtonIPad - 1"
  344.         y2="height - ButtonIPad - 5"/>
  345.     <line color="gtk:dark[NORMAL]" width="1"
  346.         x1="width - ButtonIPad - 4"
  347.         y1="height - ButtonIPad - 3 - 4"
  348.         x2="width - ButtonIPad - 4"
  349.         y2="height - ButtonIPad - 2"/>
  350.     <line color="gtk:dark[NORMAL]" width="1"
  351.         x1="width - ButtonIPad - 5"
  352.         y1="height - ButtonIPad - 3 - 5"
  353.         x2="width - ButtonIPad - 5"
  354.         y2="height - ButtonIPad - 1"/>
  355. </draw_ops>
  356. <draw_ops name="menu_button_focused">
  357.     <line color="gtk:fg[SELECTED]" width="3"
  358.         x1="ButtonIPad + 1"
  359.         y1="ButtonIPad"
  360.         x2="ButtonIPad + 1"
  361.         y2="height - ButtonIPad - 3"/>
  362.     <line color="gtk:fg[SELECTED]" width="3"
  363.         x1="ButtonIPad"
  364.         y1="height - ButtonIPad - 5"
  365.         x2="width - ButtonIPad - 2"
  366.         y2="height - ButtonIPad - 5"/>
  367.     <line color="gtk:fg[SELECTED]" width="1"
  368.         x1="ButtonIPad"
  369.         y1="height - ButtonIPad - 5"
  370.         x2="width - ButtonIPad - 1"
  371.         y2="height - ButtonIPad - 5"/>
  372.     <line color="gtk:fg[SELECTED]" width="1"
  373.         x1="width - ButtonIPad - 4"
  374.         y1="height - ButtonIPad - 3 - 4"
  375.         x2="width - ButtonIPad - 4"
  376.         y2="height - ButtonIPad - 2"/>
  377.     <line color="gtk:fg[SELECTED]" width="1"
  378.         x1="width - ButtonIPad - 5"
  379.         y1="height - ButtonIPad - 3 - 5"
  380.         x2="width - ButtonIPad - 5"
  381.         y2="height - ButtonIPad - 1"/>
  382. </draw_ops>
  383. <draw_ops name="menu_button_prelight">
  384.     <include name="button_prelight_bg"/>
  385.     <line color="gtk:dark[PRELIGHT]" width="3"
  386.         x1="ButtonIPad + 1 + 1"
  387.         y1="ButtonIPad + 1"
  388.         x2="ButtonIPad + 1 + 1"
  389.         y2="height - ButtonIPad - 3 + 1"/>
  390.     <line color="gtk:dark[PRELIGHT]" width="3"
  391.         x1="ButtonIPad + 1"
  392.         y1="height - ButtonIPad - 5 + 1"
  393.         x2="width - ButtonIPad - 2 + 1"
  394.         y2="height - ButtonIPad - 5 + 1"/>
  395.     <line color="gtk:dark[PRELIGHT]" width="1"
  396.         x1="ButtonIPad + 1"
  397.         y1="height - ButtonIPad - 5 + 1"
  398.         x2="width - ButtonIPad - 1 + 1"
  399.         y2="height - ButtonIPad - 5 + 1"/>
  400.     <line color="gtk:dark[PRELIGHT]" width="1"
  401.         x1="width - ButtonIPad - 4 + 1"
  402.         y1="height - ButtonIPad - 3 - 4 + 1"
  403.         x2="width - ButtonIPad - 4 + 1"
  404.         y2="height - ButtonIPad - 2 + 1"/>
  405.     <line color="gtk:dark[PRELIGHT]" width="1"
  406.         x1="width - ButtonIPad - 5 + 1"
  407.         y1="height - ButtonIPad - 3 - 5 + 1"
  408.         x2="width - ButtonIPad - 5 + 1"
  409.         y2="height - ButtonIPad - 1 + 1"/>
  410.     <line color="gtk:fg[PRELIGHT]" width="3"
  411.         x1="ButtonIPad + 1"
  412.         y1="ButtonIPad"
  413.         x2="ButtonIPad + 1"
  414.         y2="height - ButtonIPad - 3"/>
  415.     <line color="gtk:fg[PRELIGHT]" width="3"
  416.         x1="ButtonIPad"
  417.         y1="height - ButtonIPad - 5"
  418.         x2="width - ButtonIPad - 2"
  419.         y2="height - ButtonIPad - 5"/>
  420.     <line color="gtk:fg[PRELIGHT]" width="1"
  421.         x1="ButtonIPad"
  422.         y1="height - ButtonIPad - 5"
  423.         x2="width - ButtonIPad - 1"
  424.         y2="height - ButtonIPad - 5"/>
  425.     <line color="gtk:fg[PRELIGHT]" width="1"
  426.         x1="width - ButtonIPad - 4"
  427.         y1="height - ButtonIPad - 3 - 4"
  428.         x2="width - ButtonIPad - 4"
  429.         y2="height - ButtonIPad - 2"/>
  430.     <line color="gtk:fg[PRELIGHT]" width="1"
  431.         x1="width - ButtonIPad - 5"
  432.         y1="height - ButtonIPad - 3 - 5"
  433.         x2="width - ButtonIPad - 5"
  434.         y2="height - ButtonIPad - 1"/>
  435. </draw_ops>
  436. <draw_ops name="menu_button_pressed">
  437.     <include name="button_pressed_bg"/>
  438.     <line color="gtk:dark[ACTIVE]" width="3"
  439.         x1="ButtonIPad + 1 + 1"
  440.         y1="ButtonIPad + 1"
  441.         x2="ButtonIPad + 1 + 1"
  442.         y2="height - ButtonIPad - 3 + 1"/>
  443.     <line color="gtk:dark[ACTIVE]" width="3"
  444.         x1="ButtonIPad + 1"
  445.         y1="height - ButtonIPad - 5 + 1"
  446.         x2="width - ButtonIPad - 2 + 1"
  447.         y2="height - ButtonIPad - 5 + 1"/>
  448.     <line color="gtk:dark[ACTIVE]" width="1"
  449.         x1="ButtonIPad + 1"
  450.         y1="height - ButtonIPad - 5 + 1"
  451.         x2="width - ButtonIPad - 1 + 1"
  452.         y2="height - ButtonIPad - 5 + 1"/>
  453.     <line color="gtk:dark[ACTIVE]" width="1"
  454.         x1="width - ButtonIPad - 4 + 1"
  455.         y1="height - ButtonIPad - 3 - 4 + 1"
  456.         x2="width - ButtonIPad - 4 + 1"
  457.         y2="height - ButtonIPad - 2 + 1"/>
  458.     <line color="gtk:dark[ACTIVE]" width="1"
  459.         x1="width - ButtonIPad - 5 + 1"
  460.         y1="height - ButtonIPad - 3 - 5 + 1"
  461.         x2="width - ButtonIPad - 5 + 1"
  462.         y2="height - ButtonIPad - 1 + 1"/>
  463.     <line color="gtk:fg[ACTIVE]" width="3"
  464.         x1="ButtonIPad + 1"
  465.         y1="ButtonIPad"
  466.         x2="ButtonIPad + 1"
  467.         y2="height - ButtonIPad - 3"/>
  468.     <line color="gtk:fg[ACTIVE]" width="3"
  469.         x1="ButtonIPad"
  470.         y1="height - ButtonIPad - 5"
  471.         x2="width - ButtonIPad - 2"
  472.         y2="height - ButtonIPad - 5"/>
  473.     <line color="gtk:fg[ACTIVE]" width="1"
  474.         x1="ButtonIPad"
  475.         y1="height - ButtonIPad - 5"
  476.         x2="width - ButtonIPad - 1"
  477.         y2="height - ButtonIPad - 5"/>
  478.     <line color="gtk:fg[ACTIVE]" width="1"
  479.         x1="width - ButtonIPad - 4"
  480.         y1="height - ButtonIPad - 3 - 4"
  481.         x2="width - ButtonIPad - 4"
  482.         y2="height - ButtonIPad - 2"/>
  483.     <line color="gtk:fg[ACTIVE]" width="1"
  484.         x1="width - ButtonIPad - 5"
  485.         y1="height - ButtonIPad - 3 - 5"
  486.         x2="width - ButtonIPad - 5"
  487.         y2="height - ButtonIPad - 1"/>
  488. </draw_ops>
  489.  
  490. <!-- Close Button -->
  491. <draw_ops name="close_button">
  492.     <line color="gtk:dark[NORMAL]" width="1"
  493.         x1="ButtonIPad"
  494.         y1="ButtonIPad"
  495.         x2="width - ButtonIPad - 1"
  496.         y2="height - ButtonIPad - 1"/>
  497.     <line color="gtk:dark[NORMAL]" width="1"
  498.         x1="ButtonIPad + 1"
  499.         y1="ButtonIPad"
  500.         x2="width - ButtonIPad - 1"
  501.         y2="height - ButtonIPad - 1 - 1"/>
  502.     <line color="gtk:dark[NORMAL]" width="1"
  503.         x1="ButtonIPad"
  504.         y1="ButtonIPad + 1"
  505.         x2="width - ButtonIPad - 1 - 1"
  506.         y2="height - ButtonIPad - 1"/>
  507.  
  508.     <line color="gtk:dark[NORMAL]" width="1"
  509.         x1="ButtonIPad"
  510.         y1="height - 1 - ButtonIPad - 1"
  511.         x2="width - 1 - ButtonIPad"
  512.         y2="ButtonIPad - 1"/>
  513.     <line color="gtk:dark[NORMAL]" width="1"
  514.         x1="ButtonIPad + 1"
  515.         y1="height - 1 - ButtonIPad - 1"
  516.         x2="width - 1 - ButtonIPad"
  517.         y2="ButtonIPad"/>
  518.     <line color="gtk:dark[NORMAL]" width="1"
  519.         x1="ButtonIPad"
  520.         y1="height - 1 - ButtonIPad - 1 - 1"
  521.         x2="width - 1 - ButtonIPad - 1"
  522.         y2="ButtonIPad - 1"/>
  523. </draw_ops>
  524. <draw_ops name="close_button_focused">
  525.     <line color="gtk:fg[SELECTED]" width="1"
  526.         x1="ButtonIPad"
  527.         y1="ButtonIPad"
  528.         x2="width - ButtonIPad - 1"
  529.         y2="height - ButtonIPad - 1"/>
  530.     <line color="gtk:fg[SELECTED]" width="1"
  531.         x1="ButtonIPad + 1"
  532.         y1="ButtonIPad"
  533.         x2="width - ButtonIPad - 1"
  534.         y2="height - ButtonIPad - 1 - 1"/>
  535.     <line color="gtk:fg[SELECTED]" width="1"
  536.         x1="ButtonIPad"
  537.         y1="ButtonIPad + 1"
  538.         x2="width - ButtonIPad - 1 - 1"
  539.         y2="height - ButtonIPad - 1"/>
  540.  
  541.     <line color="gtk:fg[SELECTED]" width="1"
  542.         x1="ButtonIPad"
  543.         y1="height - 1 - ButtonIPad - 1"
  544.         x2="width - 1 - ButtonIPad"
  545.         y2="ButtonIPad - 1"/>
  546.     <line color="gtk:fg[SELECTED]" width="1"
  547.         x1="ButtonIPad + 1"
  548.         y1="height - 1 - ButtonIPad - 1"
  549.         x2="width - 1 - ButtonIPad"
  550.         y2="ButtonIPad"/>
  551.     <line color="gtk:fg[SELECTED]" width="1"
  552.         x1="ButtonIPad"
  553.         y1="height - 1 - ButtonIPad - 1 - 1"
  554.         x2="width - 1 - ButtonIPad - 1"
  555.         y2="ButtonIPad - 1"/>
  556. </draw_ops>
  557. <draw_ops name="close_button_prelight">
  558.     <include name="button_prelight_bg"/>
  559.     <line color="gtk:dark[PRELIGHT]" width="1"
  560.         x1="ButtonIPad + 1"
  561.         y1="ButtonIPad + 1"
  562.         x2="width - ButtonIPad - 1 + 1"
  563.         y2="height - ButtonIPad - 1 + 1"/>
  564.     <line color="gtk:dark[PRELIGHT]" width="1"
  565.         x1="ButtonIPad + 1 + 1"
  566.         y1="ButtonIPad + 1"
  567.         x2="width - ButtonIPad - 1 + 1"
  568.         y2="height - ButtonIPad - 1 - 1 + 1"/>
  569.     <line color="gtk:dark[PRELIGHT]" width="1"
  570.         x1="ButtonIPad + 1"
  571.         y1="ButtonIPad + 1 + 1"
  572.         x2="width - ButtonIPad - 1 - 1 + 1"
  573.         y2="height - ButtonIPad - 1 + 1"/>
  574.  
  575.     <line color="gtk:dark[PRELIGHT]" width="1"
  576.         x1="ButtonIPad + 1"
  577.         y1="height - 1 - ButtonIPad - 1 + 1"
  578.         x2="width - 1 - ButtonIPad + 1"
  579.         y2="ButtonIPad - 1 + 1"/>
  580.     <line color="gtk:dark[PRELIGHT]" width="1"
  581.         x1="ButtonIPad + 1 + 1"
  582.         y1="height - 1 - ButtonIPad - 1 + 1"
  583.         x2="width - 1 - ButtonIPad + 1"
  584.         y2="ButtonIPad + 1"/>
  585.     <line color="gtk:dark[PRELIGHT]" width="1"
  586.         x1="ButtonIPad + 1"
  587.         y1="height - 1 - ButtonIPad - 1 - 1 + 1"
  588.         x2="width - 1 - ButtonIPad - 1 + 1"
  589.         y2="ButtonIPad - 1 + 1"/>
  590.  
  591.     <line color="gtk:fg[PRELIGHT]" width="1"
  592.         x1="ButtonIPad"
  593.         y1="ButtonIPad"
  594.         x2="width - ButtonIPad - 1"
  595.         y2="height - ButtonIPad - 1"/>
  596.     <line color="gtk:fg[PRELIGHT]" width="1"
  597.         x1="ButtonIPad + 1"
  598.         y1="ButtonIPad"
  599.         x2="width - ButtonIPad - 1"
  600.         y2="height - ButtonIPad - 1 - 1"/>
  601.     <line color="gtk:fg[PRELIGHT]" width="1"
  602.         x1="ButtonIPad"
  603.         y1="ButtonIPad + 1"
  604.         x2="width - ButtonIPad - 1 - 1"
  605.         y2="height - ButtonIPad - 1"/>
  606.  
  607.     <line color="gtk:fg[PRELIGHT]" width="1"
  608.         x1="ButtonIPad"
  609.         y1="height - 1 - ButtonIPad - 1"
  610.         x2="width - 1 - ButtonIPad"
  611.         y2="ButtonIPad - 1"/>
  612.     <line color="gtk:fg[PRELIGHT]" width="1"
  613.         x1="ButtonIPad + 1"
  614.         y1="height - 1 - ButtonIPad - 1"
  615.         x2="width - 1 - ButtonIPad"
  616.         y2="ButtonIPad"/>
  617.     <line color="gtk:fg[PRELIGHT]" width="1"
  618.         x1="ButtonIPad"
  619.         y1="height - 1 - ButtonIPad - 1 - 1"
  620.         x2="width - 1 - ButtonIPad - 1"
  621.         y2="ButtonIPad - 1"/>
  622. </draw_ops>
  623. <draw_ops name="close_button_pressed">
  624.     <include name="button_pressed_bg"/>
  625.     <line color="gtk:dark[ACTIVE]" width="1"
  626.         x1="ButtonIPad + 1"
  627.         y1="ButtonIPad + 1"
  628.         x2="width - ButtonIPad - 1 + 1"
  629.         y2="height - ButtonIPad - 1 + 1"/>
  630.     <line color="gtk:dark[ACTIVE]" width="1"
  631.         x1="ButtonIPad + 1 + 1"
  632.         y1="ButtonIPad + 1"
  633.         x2="width - ButtonIPad - 1 + 1"
  634.         y2="height - ButtonIPad - 1 - 1 + 1"/>
  635.     <line color="gtk:dark[ACTIVE]" width="1"
  636.         x1="ButtonIPad + 1"
  637.         y1="ButtonIPad + 1 + 1"
  638.         x2="width - ButtonIPad - 1 - 1 + 1"
  639.         y2="height - ButtonIPad - 1 + 1"/>
  640.  
  641.     <line color="gtk:dark[ACTIVE]" width="1"
  642.         x1="ButtonIPad + 1"
  643.         y1="height - 1 - ButtonIPad - 1 + 1"
  644.         x2="width - 1 - ButtonIPad + 1"
  645.         y2="ButtonIPad - 1 + 1"/>
  646.     <line color="gtk:dark[ACTIVE]" width="1"
  647.         x1="ButtonIPad + 1 + 1"
  648.         y1="height - 1 - ButtonIPad - 1 + 1"
  649.         x2="width - 1 - ButtonIPad + 1"
  650.         y2="ButtonIPad + 1"/>
  651.     <line color="gtk:dark[ACTIVE]" width="1"
  652.         x1="ButtonIPad + 1"
  653.         y1="height - 1 - ButtonIPad - 1 - 1 + 1"
  654.         x2="width - 1 - ButtonIPad - 1 + 1"
  655.         y2="ButtonIPad - 1 + 1"/>
  656.  
  657.     <line color="gtk:fg[ACTIVE]" width="1"
  658.         x1="ButtonIPad"
  659.         y1="ButtonIPad"
  660.         x2="width - ButtonIPad - 1"
  661.         y2="height - ButtonIPad - 1"/>
  662.     <line color="gtk:fg[ACTIVE]" width="1"
  663.         x1="ButtonIPad + 1"
  664.         y1="ButtonIPad"
  665.         x2="width - ButtonIPad - 1"
  666.         y2="height - ButtonIPad - 1 - 1"/>
  667.     <line color="gtk:fg[ACTIVE]" width="1"
  668.         x1="ButtonIPad"
  669.         y1="ButtonIPad + 1"
  670.         x2="width - ButtonIPad - 1 - 1"
  671.         y2="height - ButtonIPad - 1"/>
  672.  
  673.     <line color="gtk:fg[ACTIVE]" width="1"
  674.         x1="ButtonIPad"
  675.         y1="height - 1 - ButtonIPad - 1"
  676.         x2="width - 1 - ButtonIPad"
  677.         y2="ButtonIPad - 1"/>
  678.     <line color="gtk:fg[ACTIVE]" width="1"
  679.         x1="ButtonIPad + 1"
  680.         y1="height - 1 - ButtonIPad - 1"
  681.         x2="width - 1 - ButtonIPad"
  682.         y2="ButtonIPad"/>
  683.     <line color="gtk:fg[ACTIVE]" width="1"
  684.         x1="ButtonIPad"
  685.         y1="height - 1 - ButtonIPad - 1 - 1"
  686.         x2="width - 1 - ButtonIPad - 1"
  687.         y2="ButtonIPad - 1"/>
  688. </draw_ops>
  689. <!-- End Buttons Icons -->
  690.  
  691. <!-- Outer Bevel -->
  692. <draw_ops name="outer_bevel">
  693.     <rectangle color="gtk:dark[NORMAL]"
  694.         x="0" y="0" width="width - 1" height="height - 1"/>
  695.     <rectangle color="gtk:bg[NORMAL]" filled="true"
  696.         x="1" y="1" width="width - 2" height="height - 2"/>
  697. </draw_ops>
  698.  
  699. <draw_ops name="gradient_background">
  700.     <gradient type="vertical" x="0" y="0" width="width" height="top_height">
  701.         <color value="gtk:light[SELECTED]"/>
  702.         <color value="gtk:dark[SELECTED]"/>
  703.     </gradient>
  704. </draw_ops>
  705.  
  706. <draw_ops name="outer_bevel_focused">
  707.     <gtk_box state="selected" shadow="out" x="2" y="2" width="width - 2"
  708.         height="height - 2"/>
  709.     <rectangle color="gtk:bg[NORMAL]" filled="true"
  710.         x="left_width" y="top_height"
  711.         width="width - left_width - right_width - 1"
  712.         height="height - top_height - bottom_height - 1"/>
  713.     <rectangle color="gtk:fg[NORMAL]"
  714.         x="0" y="0" width="width - 1" height="height - 1"/>
  715.     <include name="gradient_background"
  716.         x="3" y="3" width="width - 7" height="height - 7"/>
  717. </draw_ops>
  718.  
  719. <draw_ops name="blank">
  720. <!-- nothing -->
  721. </draw_ops>
  722.  
  723. <draw_ops name="outline_focused">
  724.     <rectangle color="gtk:fg[NORMAL]"
  725.         x="left_width - 1" y="top_height - 1"
  726.         width="width - left_width - right_width + 1"
  727.         height="height - top_height - bottom_height + 1"/>
  728. </draw_ops>
  729.  
  730. <draw_ops name="background">
  731.     <include name="outer_bevel"/>
  732. </draw_ops>
  733.  
  734. <draw_ops name="background_focused">
  735.     <include name="outer_bevel_focused"/>
  736.     <include name="outline_focused"/>
  737. </draw_ops>
  738.  
  739. <draw_ops name="title_background">
  740.     <line color="#000000" width="50"
  741.         x1="width - title_width - IconTitleSpacing + 25 - 1 + 3"
  742.         y1="0 - 25"
  743.         x2="width - title_width - IconTitleSpacing - height - 25 - 1 + 3"
  744.         y2="height + 25"/>
  745.     <line color="#ffffff" width="50"
  746.         x1="width - title_width - IconTitleSpacing + 25 + 3"
  747.         y1="0 - 25"
  748.         x2="width - title_width - IconTitleSpacing - height - 25 + 3"
  749.         y2="height + 25"/>
  750.     <line color="#000000" width="1" 
  751.         x1="width - 1"
  752.         y1="0"
  753.         x2="width - 1"
  754.         y2="height"/>
  755.     <rectangle color="#ffffff" filled="true" 
  756.         x="width - title_width - mini_icon_width - IconTitleSpacing * 3"
  757.         y="0"
  758.         width="title_width + mini_icon_width + IconTitleSpacing * 3 - 1"
  759.         height="height"/>
  760. </draw_ops>
  761.  
  762. <draw_ops name="title_text_focused_with_icon">
  763.     <title color="#000000"
  764.         x="width - title_width - IconTitleSpacing"
  765.         y="(height / 2) - (title_height / 2) - 1"/>
  766.     <icon
  767.         x="width - title_width - mini_icon_width - (IconTitleSpacing * 2)"
  768.         y="(height / 2) - (mini_icon_height / 2)"
  769.         width="mini_icon_width"
  770.         height="mini_icon_height"/>
  771. </draw_ops>
  772.  
  773. <draw_ops name="title_text_focused_no_icon">
  774.     <title color="gtk:fg[INSENSITIVE]"
  775.         x="width - title_width - IconTitleSpacing"
  776.         y="(height / 2) - (title_height / 2)"/>
  777.     <icon
  778.         x="width - title_width - height - (IconTitleSpacing * 2)"
  779.         y="1"
  780.         width="height - 2"
  781.         height="height - 2"/>
  782. </draw_ops>
  783.  
  784. <draw_ops name="title_text_with_icon">
  785.     <title color="gtk:dark[NORMAL]"
  786.         x="width - title_width - IconTitleSpacing"
  787.         y="(height / 2) - (title_height / 2) - 2"/>
  788.     <icon alpha="0.33"
  789.         x="width - title_width - mini_icon_width - (IconTitleSpacing * 2)"
  790.         y="(height / 2) - (mini_icon_height / 2) - 2"
  791.         width="mini_icon_width"
  792.         height="mini_icon_height"/>
  793. </draw_ops>
  794.  
  795. <draw_ops name="title_text_no_icon">
  796.     <title color="gtk:dark[NORMAL]"
  797.         x="width - title_width - IconTitleSpacing"
  798.         y="(height / 2) - (title_height / 2)"/>
  799.     <icon alpha="0.33"
  800.         x="width - title_width - height - (IconTitleSpacing * 2)"
  801.         y="1"
  802.         width="height - 2"
  803.         height="height - 2"/>
  804. </draw_ops>
  805.  
  806. <draw_ops name="title_normal">
  807.     <include name="title_text_with_icon" x="0" y="3" width="width" height="height - 3"/>
  808. </draw_ops>
  809.  
  810. <draw_ops name="title_focused">
  811.     <include name="title_background"/>
  812.     <line color="#000000" width="1" 
  813.         x1="width - title_width - mini_icon_width - IconTitleSpacing * 3"
  814.         y1="0"
  815.         x2="width"
  816.         y2="0"/>
  817.     <line color="#000000" width="1"
  818.         x1="width - title_width - mini_icon_width - IconTitleSpacing * 3 - 18"
  819.         y1="height - 1"
  820.         x2="width"
  821.         y2="height - 1"/>
  822.     <include name="title_text_focused_with_icon" x="0" y="2" width="width" height="height - 3"/>
  823. </draw_ops>
  824.  
  825. <draw_ops name="title_maximized">
  826.     <include name="title_text_with_icon"/>
  827. </draw_ops>
  828.  
  829. <draw_ops name="title_maximized_focused">
  830.     <include name="title_background"/>
  831.     <include name="title_text_focused_with_icon"/>
  832. </draw_ops>
  833.  
  834. <draw_ops name="title_utility">
  835.     <include name="title_text_no_icon"/>
  836. </draw_ops>
  837.  
  838. <draw_ops name="title_utility_focused">
  839.     <include name="title_background"
  840.         x="mini_icon_width + IconTitleSpacing"
  841.         y="0"
  842.         width="width - mini_icon_width - IconTitleSpacing"
  843.         height="height"/>
  844.     <line color="#000000" width="1" 
  845.         x1="width - title_width - mini_icon_width - IconTitleSpacing * 3"
  846.         y1="0"
  847.         x2="width"
  848.         y2="0"/>
  849.     <include name="title_text_focused_no_icon"/>
  850. </draw_ops>
  851.  
  852. <frame_style name="normal_unfocused" geometry="normal">
  853.     <piece position="entire_background" draw_ops="background"/>
  854.  
  855.     <piece position="title" draw_ops="title_normal"/>
  856.  
  857.     <button function="menu" state="normal"
  858.         draw_ops="menu_button"/>
  859.     <button function="menu" state="pressed"
  860.         draw_ops="menu_button_pressed"/>
  861.  
  862.     <button function="minimize" state="normal"
  863.         draw_ops="minimize_button"/>
  864.     <button function="minimize" state="pressed"
  865.         draw_ops="minimize_button_pressed"/>
  866.  
  867.     <button function="maximize" state="normal"
  868.         draw_ops="maximize_button"/>
  869.     <button function="maximize" state="pressed"
  870.         draw_ops="maximize_button_pressed"/>
  871.  
  872.     <button function="close" state="normal" draw_ops="close_button"/>
  873.     <button function="close" state="pressed" draw_ops="close_button_pressed"/>
  874. </frame_style>
  875.  
  876. <frame_style name="normal_focused" geometry="normal" parent="normal_unfocused">
  877.     <piece position="entire_background" draw_ops="background_focused"/>
  878.     <piece position="title" draw_ops="title_focused"/>
  879.  
  880.     <button function="close" state="normal"
  881.         draw_ops="close_button_focused"/>
  882.     <button function="close" state="prelight"
  883.         draw_ops="close_button_prelight"/>
  884.  
  885.     <button function="menu" state="normal"
  886.         draw_ops="menu_button_focused"/>
  887.     <button function="menu" state="prelight"
  888.         draw_ops="menu_button_prelight"/>
  889.  
  890.     <button function="maximize" state="normal"
  891.         draw_ops="maximize_button_focused"/>
  892.     <button function="maximize" state="prelight"
  893.         draw_ops="maximize_button_prelight"/>
  894.  
  895.     <button function="minimize" state="normal"
  896.         draw_ops="minimize_button_focused"/>
  897.     <button function="minimize" state="prelight"
  898.         draw_ops="minimize_button_prelight"/>
  899. </frame_style>
  900.  
  901. <frame_style name="maximized_unfocused" geometry="normal_small_borders"
  902.     parent="normal_unfocused">
  903.     <piece position="entire_background" draw_ops="blank"/>
  904.  
  905.     <piece position="title" draw_ops="title_maximized"/>
  906.  
  907.     <button function="maximize" state="normal"
  908.         draw_ops="restore_button"/>
  909.     <button function="maximize" state="pressed"
  910.         draw_ops="restore_button_pressed"/>
  911. </frame_style>
  912.  
  913. <frame_style name="maximized_focused" geometry="normal_small_borders"
  914.     parent="normal_focused">
  915.     <piece position="entire_background" draw_ops="gradient_background"/>
  916.     <piece position="title" draw_ops="title_maximized_focused"/>
  917.  
  918.     <button function="maximize" state="normal"
  919.         draw_ops="restore_button_focused"/>
  920.     <button function="maximize" state="pressed"
  921.         draw_ops="restore_button_pressed"/>
  922.     <button function="maximize" state="prelight"
  923.         draw_ops="restore_button_prelight"/>
  924. </frame_style>
  925.  
  926. <frame_style name="utility_unfocused" geometry="utility"
  927.     parent="normal_unfocused">
  928.     <piece position="title" draw_ops="title_utility"/>
  929. </frame_style>
  930.  
  931. <frame_style name="utility_focused" geometry="utility" parent="normal_focused">
  932.     <piece position="title" draw_ops="title_utility_focused"/>
  933. </frame_style>
  934.  
  935. <frame_style name="border" geometry="border" parent="normal_unfocused">
  936.     <piece position="entire_background" draw_ops="outer_bevel"/>
  937.     <piece position="title" draw_ops="blank"/>
  938. </frame_style>
  939.  
  940. <frame_style_set name="normal">
  941.     <frame focus="yes" state="normal" resize="both" style="normal_focused"/>
  942.     <frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
  943.     <frame focus="yes" state="maximized" style="maximized_focused"/>
  944.     <frame focus="no" state="maximized" style="maximized_unfocused"/>
  945.     <frame focus="yes" state="shaded" style="normal_focused"/>
  946.     <frame focus="no" state="shaded" style="normal_unfocused"/>
  947.     <frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/>
  948.     <frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/>
  949. </frame_style_set>
  950.  
  951. <frame_style_set name="utility" parent="normal">
  952.     <frame focus="yes" state="normal" resize="both" style="utility_focused"/>
  953.     <frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
  954. <!-- this is a bunch of crack since utility windows shouldn't be maximized -->
  955.     <frame focus="yes" state="maximized" style="utility_focused"/>
  956.     <frame focus="no" state="maximized" style="utility_unfocused"/>
  957.     <frame focus="yes" state="shaded" style="utility_focused"/>
  958.     <frame focus="no" state="shaded" style="utility_unfocused"/>
  959.     <frame focus="yes" state="maximized_and_shaded" style="utility_focused"/>
  960.     <frame focus="no" state="maximized_and_shaded" style="utility_unfocused"/>
  961. </frame_style_set>
  962.  
  963. <frame_style_set name="border">
  964.     <frame focus="yes" state="normal" resize="both" style="border"/>
  965.     <frame focus="no" state="normal" resize="both" style="border"/>
  966.     <frame focus="yes" state="maximized" style="border"/>
  967.     <frame focus="no" state="maximized" style="border"/>
  968.     <frame focus="yes" state="shaded" style="border"/>
  969.     <frame focus="no" state="shaded" style="border"/>
  970.     <frame focus="yes" state="maximized_and_shaded" style="border"/>
  971.     <frame focus="no" state="maximized_and_shaded" style="border"/>
  972. </frame_style_set>
  973.  
  974. <window type="normal" style_set="normal"/>
  975. <window type="dialog" style_set="utility"/>
  976. <window type="modal_dialog" style_set="utility"/>
  977. <window type="menu" style_set="utility"/>
  978. <window type="utility" style_set="utility"/>
  979. <window type="border" style_set="border"/>
  980.  
  981. <menu_icon function="close" state="normal"
  982.     draw_ops="close_button_focused"/>
  983. <menu_icon function="maximize" state="normal"
  984.     draw_ops="maximize_button_focused"/>
  985. <menu_icon function="unmaximize" state="normal"
  986.     draw_ops="restore_button_focused"/>
  987. <menu_icon function="minimize" state="normal"
  988.     draw_ops="minimize_button_focused"/>
  989.  
  990. </metacity_theme>
  991.